package com.yunqing.restkeeper.enterprise.web.vo.store;

import com.yunqing.restkeeper.common.constants.SystemCode;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
public class DishVO {

    @Schema(name = "id", description = "菜品id")
    private String id;  //添加时候可以不传

    @Schema(name = "name", description = "菜品名称")
    private String name;

    @Schema(name = "categoryId", description = "分类id")
    private String categoryId;

    @Schema(name = "price", description = "价格")
    private Integer price;

    @Schema(name = "code", description = "菜品code")
    private String code;

    @Schema(name = "image", description = "图片路径")
    private String image;

    @Schema(name = "description", description = "备注")
    private String description;

    @Schema(name = "status", description = "状态 0 停售，1起售")
    private Integer status = SystemCode.ENABLED; //默认起售

    @Schema(name = "dishFlavors", description = "口味")
    private List<DishFlavorVO> dishFlavors;

}
